POV-Ray : Newsgroups : povray.general : Animating IMAGE Maps (Sorry) : Re: Animating IMAGE Maps (Sorry) Server Time
19 Nov 2024 15:30:24 EST (-0500)
  Re: Animating IMAGE Maps (Sorry)  
From: Chris Colefax
Date: 12 Feb 2002 00:08:21
Message: <3c68a345@news.povray.org>
Mitchell Waite <mit### [at] dnaicom> wrote:
> Is there a way to animate an image map in POV Ray that is draped on a
height
> map of a terrain?
>
> My idea is to have a succession of image maps that are slightly different
> and move them in and out of POV Ray as I render but I have no clue on how
to
> do that.

I had suspicions you meant image maps, rather than colour maps in your last
message.  The second example I posted, then, should do the trick, or you
could use the Pigment_From and To statements, e.g.:

pigment {
    Pigment_From (0, pigment {image_map {tga "image1" interpolate 2}})
    Pigment_To (1, pigment(image_map {tga "image2" interpolate 2}})
    }
    [...transform to fit your landscape...]
    }

This smoothly shifts from one image map to the other, and the file includes
plenty of options that let you control just how the shifting takes place.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.